﻿using System.Collections.Generic;
using Zdap.Common;

namespace Datav.Design.Service
{
    /// <summary>
    ///
    /// </summary>
    public interface IBaseComService
    {
        /// <summary>
        ///
        /// </summary>
        /// <param name="treeNodes"></param>
        /// <param name="parentId"></param>
        /// <returns></returns>
        ValueTask<IEnumerable<ComsModelDto>> BulidTreeByRecursive(IEnumerable<ComsModelDto> treeNodes, long parentId);
    }
}